﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User_center/MainContent.Master"
    AutoEventWireup="true" CodeBehind="ActivityList.aspx.cs" Inherits="IService.User_center.ActivityList" %>

<%@ Register Src="~/InfoControls/Pagination.ascx" TagName="Pagination" TagPrefix="suc" %>

<asp:Content ID="title1" ContentPlaceHolderID="TitleContent" runat="server">
    <title>活动报名</title>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css" media="screen" id="less:iservice-css-styles">
        .listitems:hover {
            background-color: #C8FB7C;
            color: #1919F8;
        }

        .listitems .item40 {
            width: 40px;
        }

        .listitems .item60 {
            width: 60px;
        }

        .listitems .item80 {
            width: 80px;
        }

        .listitems .item100 {
            width: 100px;
        }

        .listitems .item120 {
            width: 120px;
        }

        .listitems .item160 {
            width: 160px;
        }

        .odd {
            background-color: rgb(255, 255, 255);
        }

        .even {
            background-color: rgb(246, 254, 234);
        }

        .opt {
            width: 35px;
            height: 25px;
            text-align: center;
            display: block;
            position: relative;
            cursor: pointer;
        }

        .icon-sprite {
            left: 10px;
            top: 50%;
            width: 16px;
            height: 16px;
            margin-top: -8px;
            display: inline-block;
            position: absolute;
            background: url(../Admin/Style/images/icon.png) no-repeat;
        }

        .icon-edit {
            background-position: -25px -19px;
        }

        .icon-delete {
            background-position: -46px -20px;
        }

        .icon-view {
            background-position: -4px -19px;
        }

        .icon-list {
            background-position: -79px 0px;
        }

        .right-button06 {
            font-family: "宋体";
            font-size: 12px;
            color: #174B73;
            height: 20px;
            width: 24px;
            background-image: url(../Admin/Style/images/button08.gif);
            border-top-width: 0px;
            border-right-width: 0px;
            border-bottom-width: 0px;
            border-left-width: 0px;
            margin-left: 3px;
        }

        .right-text09 {
            font-family: Tahoma;
            font-size: 11px;
            font-weight: bold;
            color: #F26521;
            text-decoration: none;
        }

        .right-textfield03 {
            font-family: Tahoma;
            font-size: 11px;
            color: #555555;
            text-decoration: none;
            height: 14px;
        }
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="RightMainContent" runat="server">
    <h1>活动报名</h1>
    <h3>
        <a class="more" href="http://www.nercdtv.org/iservice/user_center/uc_4.html#">更多</a>活动列表</h3>
    <div class="activityList">
        <ul class="newsList withImg ">
            <asp:Repeater ID="rptActivityList" runat="server">
                <ItemTemplate>
                    <li>
                        <div class="img">
                            <img src='<%#Eval("Image").ToString()%>' width="131px" height="80px" />
                        </div>
                        <div class="intro">
                            <h4>
                                <a href="ViewActivity.aspx?activityId=<%#Eval("ID") %>">
                                    <%#Eval("Title").ToString()%>
                                </a>
                            </h4>
                            <p>
                                <%#GetShortContent(Eval("Details").ToString())%>
                            </p>
                        </div>
                        <div class="buttonBar">
                            <a class="button" href='ApplyActivity.aspx?activityId=<%#Eval("ID") %>'>我要报名</a>
                        </div>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="6">
                <img alt="" src="../Admin/Style/images/spacer.gif" width="1" height="1" />
            </td>
        </tr>
        <tr>
            <td height="33">
                <suc:Pagination ID="Pagination" PageSize="12" runat="server"></suc:Pagination>
            </td>
        </tr>
    </table>
    <h3 style="background-color:#FEFCBA">如果您对我们开展的活动有任何意见或建议，可以通过下面的文本框告诉我们。期待您的反馈！</h3>
    <p>
        <asp:TextBox ID="txtOpinion" runat="server" Rows="5" TextMode="MultiLine" Width="730px"></asp:TextBox>
        <p class="buttonBar">
            <asp:Button ID="btnSubmit" runat="server" Text="提交" class="button" OnClick="btnSubmit_Click" />
        </p>
        <p>
            <span>
                <asp:Label ID="lblErrorSupply" runat="server" class="red"></asp:Label>
            </span>
        </p>
    </p>
    <script type="text/javascript">
        $(function () {
            $("#LefNav_ActivityList").attr("class", "selected");
        })
    </script>
</asp:Content>
